package example.service;

import example.common.Result;
import example.dto.DidAndSidDTO;
import example.dto.ResponseDepartmentDTO;
import example.vo.ResponseVO;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface ISecondmentDistributeInfoService {
    Result uploadPdfFile(List<MultipartFile> files, Long secondmentId);

    Result distributeCase(Long secondmentId, List<String> departmentNames);

    //检查借调人数是否超限
    Result checkNumOfSecondment(Long secondmentId, List<String> departmentNames);

    Result uploadResponseFile(List<MultipartFile> files, Long departmentId, Long secondmentId);

    Result uploadTempFile(List<MultipartFile> files, Long secondmentId);

    Result getResponseDepartment(ResponseDepartmentDTO responseDTO);

    Result changeResponseState(DidAndSidDTO didAndSidDTO);

    void downloadConfirm(Long secondmentId, Long departmentId, HttpServletResponse response);

    Result getResponseState(DidAndSidDTO didAndSidDTO);

    void dowRes(Long departmentId, Long secondmentId, HttpServletResponse response);

    Result getConfirmName(Long secondmentId, Long departmentId);

    Result uploadConfirmFile(MultipartFile file, Long secondmentId);
}
